//
//  NSObject+AssetsImageManager.h
//  YuanXinCamera
//
//  Created by wangxue on 16/10/10.
//  Copyright © 2016年 晏德智. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import <Photos/Photos.h>
@interface NSObject (AssetsImageManager)

//根据相册里assetURL 获取原图image
- (void)getOriginalPhotoWithAsset:(NSURL *)assetURL completion:(void (^)(UIImage *photo,NSDictionary *info))completion;


- (id)getAssetFromAssetURL:(NSURL *)assetURL;
@end
